package com.type.dao;

import java.util.ArrayList;

import javax.annotation.Resource;

import org.springframework.orm.ibatis.SqlMapClientTemplate;
import org.springframework.stereotype.Repository;

import com.type.vo.EmpVO;

@Repository("empDAO")
public class EmpDAO {

	/**
	 * 작성자 : 주혜미
	 * 작성일 : 2013.05.02
	 * @param args
	 */
	
	@Resource(name="sqlMapClientTemplate")
	private SqlMapClientTemplate sqlmap;   
	
	@SuppressWarnings("unchecked")
	public ArrayList<EmpVO> selectEmpList(){
		return (ArrayList<EmpVO>)sqlmap.queryForList("emp.selectEmpList");
	}

}
